package task2;

/**
 * 选手只能是黑方或者白方
 */
public enum PlayerType {
    BLACK("黑方"),WHITE("白方");

    private String name;

    PlayerType(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
